package com.tbit.uqbike.service.business;

import com.tbit.common.entity.pojo.vo.DateResult;
import com.tbit.uqbike.object.pojo.statistics.ExportPowerLog;
import com.tbit.uqbike.object.pojo.statistics.MoveLog;

import java.util.List;
import java.util.Map;

/**
 * @Author: chen
 * @Description: 挪车记录
 * @Date: 创建于 17:35 2020/3/13
 */
public interface MoveLogService {
    /**
     * 挪车次数日期统计
     */
    List<DateResult> statisticsByTime(Integer accountId, Integer accountUserId, Long startTime, Long endTime);

    /**
     * 挪车记录统计详细
     */
    List<MoveLog> queryPage(Integer accountId, String machineNO, String userCode, Integer accountUserId, Long startTime, Long endTime, Integer pageNO, Integer rowCount);

    /**
     * 挪车记录统计详细
     */
    Integer queryCount(Integer accountId, String machineNO, String userCode, Integer accountUserId, Long startTime, Long endTime);

    /**
     * 挪车次数统计导出
     */
    List<MoveLog> exportByTime(Integer accountId, Integer accountUserId, Long startTime, Long endTime);

    List<ExportPowerLog> getByType(Map<String, Object> params, Integer accountId, Integer accountUserId, Long startTime, Long endTime, Integer rowCount, Integer pageNO);
}
